home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / man / cat3 / XmCreateMessageBox.z / XmCreateMessageBox
Encoding:
Text File  |  2003-11-18  |  2.8 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmCCCCrrrreeeeaaaatttteeeeMMMMeeeessssssssaaaaggggeeeeBBBBooooxxxx((((3333XXXX))))    UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV    XXXXmmmmCCCCrrrreeeeaaaatttteeeeMMMMeeeessssssssaaaaggggeeeeBBBBooooxxxx((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       _X_m_C_r_e_a_t_e_M_e_s_s_a_g_e_B_o_x - The MessageBox widget creation function
  10.  
  11.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.       #include <Xm/MessageB.h>
  13.  
  14.       Widget XmCreateMessageBox (ppppaaaarrrreeeennnntttt,,,, nnnnaaaammmmeeee,,,, aaaarrrrgggglllliiiisssstttt,,,, aaaarrrrggggccccoooouuuunnnntttt)
  15.            _W_i_d_g_e_t     ppppaaaarrrreeeennnntttt;
  16.            _S_t_r_i_n_g     nnnnaaaammmmeeee;
  17.            _A_r_g_L_i_s_t     aaaarrrrgggglllliiiisssstttt;
  18.            _C_a_r_d_i_n_a_l     aaaarrrrggggccccoooouuuunnnntttt;
  19.  
  20.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  21.       _X_m_C_r_e_a_t_e_M_e_s_s_a_g_e_B_o_x creates an    unmanaged MessageBox.  A
  22.       MessageBox is    used for common    interaction tasks, which
  23.       include giving information, asking questions,    and reporting
  24.       errors.  It includes an optional symbol, a message, and
  25.       three    buttons.
  26.  
  27.       By default, there is no symbol.  The default button labels
  28.       are _O_K, _C_a_n_c_e_l, and _H_e_l_p.
  29.  
  30.       If the parent    of the MessageBox is a DialogShell, use
  31.       _X_t_M_a_n_a_g_e_C_h_i_l_d    to pop up the MessageBox (passing the
  32.       MessageBox as    the widget parameter); use _X_t_U_n_m_a_n_a_g_e_C_h_i_l_d to
  33.       pop it down.
  34.  
  35.       ppppaaaarrrreeeennnntttt
  36.            Specifies the parent widget ID
  37.  
  38.       nnnnaaaammmmeeee Specifies the name of the created widget
  39.  
  40.       aaaarrrrgggglllliiiisssstttt
  41.            Specifies the argument list
  42.  
  43.       aaaarrrrggggccccoooouuuunnnntttt
  44.            Specifies the number of attribute/value pairs in    the
  45.            argument    list (aaaarrrrgggglllliiiisssstttt)
  46.  
  47.       For a    complete definition of MessageBox and its associated
  48.       resources, see _X_m_M_e_s_s_a_g_e_B_o_x(_3_X).
  49.  
  50.      RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
  51.       Returns the MessageBox widget    ID.
  52.  
  53.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  54.       _X_m_M_e_s_s_a_g_e_B_o_x(_3_X).
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 11/11/03)
  64.  
  65.  
  66.  
  67.